CXX = g++
CXXFLAGS = -Wall -g -I~/eigen-3.4.0 -I../src
# LDFLAGS = -L/~/lapack-3.12.1  -llapack

# 目标
all: test run

# 编译
test: test.cpp
	$(CXX) $(CXXFLAGS) test.cpp -o test

# 运行
run: test
	./test

# 清理
clean:
	rm -f test *.txt

.PHONY: all run clean
